package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.sql.Blob;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 预约用户表
 *
 * @author song
 * @since 2020-06-28
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CallerReservationPeople对象", description="预约用户表")
public class CallerReservationPeople implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @ApiModelProperty(value = "企业id(微信公众号企业id)")
    @TableField("wx_id")
    private String wxId;

    @ApiModelProperty(value = "员工id ===>>被预约人才有")
    @TableField("employee_id")
    private Long employeeId;

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "用户openid")
    @TableField("open_id")
    private String openId;

    @ApiModelProperty(value = "用户昵称")
    @TableField("nick_name")
    private String nickName;

    @ApiModelProperty(value = "用户姓名")
    @TableField("wx_name")
    private String wxName;

    @ApiModelProperty(value = "性别 1:男     2:女")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "身份证号")
    @TableField("identity")
    private String identity;

    @ApiModelProperty(value = "用户所在单位名称")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty(value = "用户所在部门名称")
    @TableField("department_name")
    private String departmentName;

    @ApiModelProperty(value = "车牌号")
    @TableField("license_plate_number")
    private String licensePlateNumber;

    @ApiModelProperty(value = "用户头像")
    @TableField("headimg_url")
    private String headimgUrl;

    @ApiModelProperty(value = "人脸url//人脸访问地址")
    @TableField("certificate_url")
    private String certificateUrl;

    @ApiModelProperty(value = "人脸特征值")
    @TableField("certificate_eigen")
    private byte[] certificateEigen;

    @ApiModelProperty(value = "身份证特征值")
    @TableField("id_card_feature")
    private byte[] idCardFeature;

    @ApiModelProperty(value = "提醒时间(单位：小时,整数)")
    @TableField("remind_time")
    private Integer remindTime;

    @ApiModelProperty(value = "是否提醒 默认0  0不提醒  1提醒")
    @TableField("is_remind")
    private Integer isRemind;

    @ApiModelProperty(value = "图片介绍集合")
    @TableField("photo_show")
    private String photoShow;

    @ApiModelProperty(value = "视频介绍集合")
    @TableField("video_show")
    private String videoShow;

    @ApiModelProperty(value = "主页url")
    @TableField("home_url")
    private String homeUrl;

    @ApiModelProperty(value = "分享设置")
    @TableField("share")
    private String share;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否已删除  默认0 0未删除  1已删除")
    @TableField("is_deleted")
    private Integer isDeleted;


}
